package com.example.main.fragment

import android.os.Bundle
import androidx.fragment.app.Fragment
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import com.alibaba.android.arouter.launcher.ARouter
import com.example.lib_base.mvvm.BaseViewFragment
import com.example.main.R
import com.example.main.databinding.FragmentServiceBinding
import dagger.hilt.android.AndroidEntryPoint

@AndroidEntryPoint
class ServiceFragment : BaseViewFragment<FragmentServiceBinding>() {
    override fun initData() {


    }

    override fun initView() {
        biding.park.setOnClickListener {
            ARouter.getInstance().build("/cartmanage/CartManageActivity").navigation()
        }
        biding.wenhua.setOnClickListener {
            ARouter.getInstance().build("/culturemanage/CultureManageActivity").navigation()
        }
        biding.home.setOnClickListener {
            ARouter.getInstance().build("/housemanage/HouseManageActivity").navigation()
        }

        biding.vister.setOnClickListener {
            ARouter.getInstance().build("/visitmanage/VisitManageActivity").navigation()
        }

        biding.shebei.setOnClickListener {
            ARouter.getInstance().build("/equipmentmanage/SheBeiActivity").navigation()
        }
        biding.exam.setOnClickListener {
            ARouter.getInstance().build("/exam/ExamListActivity").navigation()
        }
        biding.yue.setOnClickListener {
            ARouter.getInstance().build("/user/UserActivity").navigation()
        }
    }

}